package com.hl.sfzy.service.impl;

import com.hl.sfzy.entity.CourseDetail;
import com.hl.sfzy.mapper.CourseDetailMapper;
import com.hl.sfzy.service.CourseDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @ClassName CourseDetailServiceImpl
 * @Description TODO
 * @Author 野原新之助
 * @Date 2024年01月15日 14:59:31
 * @Version 1.0
 */
@Service
public class CourseDetailServiceImpl implements CourseDetailService {
    @Autowired
    private CourseDetailMapper courseDetailMapper;


    @Override
    public void add(CourseDetail entity) throws Exception {

    }

    @Override
    public void edit(CourseDetail entity) {
        courseDetailMapper.update(entity);
    }

    @Override
    public void remove(Integer id) {

    }

    @Override
    public void removeBatch(Integer[] ids) {

    }

    @Override
    public List<CourseDetail> find(CourseDetail entity) {
        return null;
    }

    @Override
    public Map<String, Object> findPage(Integer pageNum, Integer pageSize, CourseDetail entity) {
        return null;
    }

    @Override
    public CourseDetail findById(Integer id) {
        return courseDetailMapper.selectById(id);
    }
}
